package com.power.openfegin.ProductFegin;

import com.power.domain.Prod;
import com.power.model.Result;
import com.power.openfegin.sentinal.ProductFeginFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "product-service",fallback = ProductFeginFallback.class)
public interface StoreProductFegin {
    @GetMapping("prod/getProdListByIds")
    public Result<Prod> getProdListByIds();
}
